<%-- 
    Document   : index
    Created on : 23/05/2012, 11:10:58
    Author     : luiz.perez
--%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="style.css" />
        <title>JSP Page</title>
    </head>
    <body>
        
        <jsp:useBean id="turma" scope="page" class="org.neg.curso.Turma" />
        <jsp:setProperty name="turma" property="idCurso"/>
        <jsp:setProperty name="turma" property="horario"/>
        <jsp:setProperty name="turma" property="ano"/>
        <jsp:setProperty name="turma" property="mes"/>
        <jsp:setProperty name="turma" property="dia"/>
        <jsp:setProperty name="turma" property="sala"/>
        <jsp:setProperty name="turma" property="instrutor"/>
        <jsp:setProperty name="turma" property="listaSelecionados"/>
        <h1>Oi!</h1>
        <jsp:useBean id="connection" scope="session" class="org.conexao.ConnectionHandler" />
        <%
            turma.criaTurma(turma.getIdCurso(), turma.getHorario(), turma.getInstrutor());
        %>
    </body>
</html>